package com.example.gw_back_end.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.gw_back_end.domain.PageParam;
import com.example.gw_back_end.domain.PageResult;
import com.example.gw_back_end.domain.SearchParams;
import com.example.gw_back_end.domain.entities.Game;

import java.util.List;

public interface GameService extends IService<Game> {

    PageResult<Game> getGameList(PageParam pageParam, List<Integer> categoryIdList,String clientType);

    Game getGameById(Integer id);

    boolean addGame(Game game);

    boolean deleteGame(Integer id);

    boolean updateGame(Game game);

    PageResult<Game> searchGame(SearchParams searchParams);

}
